﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MWRCommunicationLibrary.ARS408
{
    public class Out_VersionID : MWRData
    {
        public override int DefaultCanID
        {
            get
            {
                return 0x700;
            }
        }
        public override int Length
        {
            get
            {
                return 4;
            }
        }

        [ParamDecodor(0, 8)]
        public int MajorRelease { get; set; }

        [ParamDecodor(8, 8)]
        public int MinorRelease { get; set; }

        [ParamDecodor(16, 8)]
        public int PatchLevel { get; set; }

        [ParamDecodor(25, 1)]
        public bool ExtendedRange { get; set; }

        [ParamDecodor(24, 1)]
        public bool CountryCode { get; set; }
    }
}
